package com.kust.smarthome.web.config;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class AlipayConfig {
    // 沙箱appid
    public static String APPID = "2021000117660688";
    // 私钥 pkcs8格式的
    public static String RSA_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCH0C5bnKeU7+E2d9Z31tQ6e51xyCIhzmx7gAR52vcHxT0l8lQTcMl54vxSUqdonFAL4Bj6Tdjmq3ctr3XfJOfX1VhXUW+0lMKdQfXADmMq4T6BajFUf/4H4LmfoLoxi+5drEXEyLCaAA50PIeseQUixe1/Hq0lEs4ZGRl/ES5j7OFBBdElL5ruVRI/WpmWYgUZ45BaN4DmjLBcR7LDiUBGB6lZ/jJcgN49aBovZK7tk0WufSD6+awFNsqGzjdTOrEKWDwarZznvOAhaLccMZc1Vgk1mA7YprVDLeHX9Z7nkKdNUfB1ceKAvha324uEb3/rLlKidcPqiUsNmDgP1tbbAgMBAAECggEAOeeSvFCQSrnzxatWb4XSupSVzjtMAinmqsksH2AyTsfTiGhHXHqMDEGw3tCKu9lZb5a+T4n9XmvgxkO298reZnF51tDL1axPRYkn5Bi+QzwB0F+cZLCleGph+iMm/5TvrlSS8pG2ahJ4FyrvlaOLgwXsenRz0giwgpbm/fwvUT7AmfyxL+FNklwdLksGVKICN0dRSwxMwBxjpP7U4oudQC1pcD/H2lKqIFlPEZ4KW5NBmeCXSUeTfqU/EX63wlN9gNpQxyPbKx2JlxCLlYYSl8hyXzfZPAWdPBlEnfpPUPxMStWZmK0RiBBpWvpaRo8KEA7dQ4ZoUMl1DySkUtq4kQKBgQDEnhMQ2t1JqKb4HHtQ9gZ9rdt3NR0YEHC7xI8VAJ22Vfa5NSIaNJ+71i5rIpMkZG2T1a36vZwj7HVjwXnMR9sqJ3bQVznPCyl17spmrtFU+LUdcEzld+RPpudAhkoF1NG9suHb9O6kX1ZwhSPuVehMK4jqlKjtfcMDq701sz67LwKBgQCw1OMAFo19V/0CDiC/mumMSMf6fHAAUHuIsLEkK9Y68kJJh6sKfEFUXNKZo7jcAZxPtpjdLzYqUGp+sdqJMhRiEiOSogrhRpvDkzg1b5P3kbbVrOccOQafbJyGY+AjbGOAmSf49YDSc0HaUPQ3mvSgGtDzIIL58YzH01+V+1dEFQKBgFBdGAfknVw1DgINii3eUWrfO/vufrTOS3XD8oOwG8ZiPpUW7Zhud/eLpK9vk1rlnZA2X4VEKOTaCmU6uHDR0ffZ54tii6NfuZOVha8Qt0kW2thshVGpfm08F/tcqDbX9N6nlf+UjlIrEaauFLCe9nLjvHO9TYq8w4/li1G+sN5LAoGBAKrT/rgHEYkVh4aEv35a2WR8qzSBInIrTiwvBfI7pyoq/36pYcMvZq1pPsrOL7falncrn2GOSnV2WmsqxkPj7W0QuOzfPkODQtcdUh/NOtTgIBEsh9fr/0nkUxJBSjbubvG9A7Cu+1RTpDqUGlndiJVjUpiNv/pWL/qbaKwrs5JBAoGAa9lw11Su5lZ2x1PPa06lBY0qdTkWYYByoF8qX1eByPs5h9ChGp6u0kjMd/vHzlEBTwg3rVeNNlotrICXXE6TsPCyoIm+KvPZu7Cnv6h/dOMZ0Yto/6fE95se75VccCrIlJ9k3ES36abjAhnM8+m+sg20nk2BskMYRmNXCAK6ojY=";
    // 请求网关  固定
    public static String URL = "https://openapi.alipaydev.com/gateway.do";
    //异步通知地址
    public static String notify_url = "http://xiangrikui.vaiwan.com/alipay/notify";
    //同步地址
//	public static String return_url = "http://xxx/alipay/return";
    // 编码
    public static String CHARSET = "UTF-8";
    // 返回格式
    public static String FORMAT = "json";
    // 支付宝公钥
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh9AuW5ynlO/hNnfWd9bUOnudccgiIc5se4AEedr3B8U9JfJUE3DJeeL8UlKnaJxQC+AY+k3Y5qt3La913yTn19VYV1FvtJTCnUH1wA5jKuE+gWoxVH/+B+C5n6C6MYvuXaxFxMiwmgAOdDyHrHkFIsXtfx6tJRLOGRkZfxEuY+zhQQXRJS+a7lUSP1qZlmIFGeOQWjeA5oywXEeyw4lARgepWf4yXIDePWgaL2Su7ZNFrn0g+vmsBTbKhs43UzqxClg8Gq2c57zgIWi3HDGXNVYJNZgO2Ka1Qy3h1/We55CnTVHwdXHigL4Wt9uLhG9/6y5SonXD6olLDZg4D9bW2wIDAQAB";
    // 沙箱支付宝公钥
    public static String ZHIFUBAO_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxRnSXv6MrdQ7geKATMAnVnCdqWKnm8JcZ8cdmM3QemNnoizrGBBMMDGWjOdYEB2DNxgW7VhX6O0lrsNriiFyT4Zm1HFpQXYM1blUhc3oEz8Z7BSukO7ybG3tlFH0gSJuUvh//9UBHEoljQW8huiZwp87EFRChZgGgxXbXFSKPPlMHsm/g10aqZhrzBfYFyAvIh6kGyXfYddsYcyrHB3cfXOMAgdwKI6Vc2d2tDzjfJjrvQE0Wln6tD6ZAU1ip8r6ViBxojKV61ykrXkbyP32cJH8BYXRfZAKJoCvzM34+zIaeKV+25xIRZngER0waPgs3jG3bQ63EUpglHzyi7sH4wIDAQAB";
    // RSA2
    public static String SIGNTYPE = "RSA2";
}